//简写单词
import java.util.Scanner;
public class question1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.nextLine();
        //变大写
        String upperStr = str.toUpperCase();
        StringBuilder s = new StringBuilder(upperStr);
        String[] words = s.toString().split(" ");
        StringBuffer ret = new StringBuffer();
        for(String r : words) {
            char ch = r.charAt(0);
            ret.append(ch);
        }
        System.out.println(ret.toString());
    }
}
